package com.example.androidmaze;

public class HitObstacleException extends Exception {

	private int remainingDistance;
	
	public HitObstacleException(int distance)
	{
		this.remainingDistance = distance;
	}
	
	public int getRemainingDistance()
	{
		return remainingDistance;
	}
}
